      ***********************************************************
      *     This file was generated by AGT Decompiler v1.0
      ***********************************************************

COMMAND EAST ANY 
   TurnsGT  30
   AtLocation  3  <--Storage Room
   GoToRoom  4  <--Corridor
   DoneWithTurn 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  59  <--The Pyramids of Mars
   IsCarrying  280  <--FERRET CAGE
   OR 
   IsCarrying  281  <--FERRET CAGE
   PrintMessage  180
   DoneWithTurn 
END_COMMAND

COMMAND OPEN CASE 
   AtLocation  3  <--Storage Room
   Present  228  <--MUMMY CASE
   NOT IsCarrying  231  <--IRON CROWBAR
   PrintMessage  181
   DoneWithTurn 
END_COMMAND

COMMAND KNOCK ANY 
   PrintMessage  185
   DoneWithTurn 
END_COMMAND

COMMAND GET ANY 
   NOUNIsNumber  218
   PrintMessage  186
   DoneWithTurn 
END_COMMAND

COMMAND ENTER ANY 
   AtLocation  44  <--Woods
   IsClosed  261  <--BATTERED SHED
   PrintMessage  184
   DoneWithTurn 
END_COMMAND

COMMAND CLIMB ANY 
   NOUNIsNumber  298
   AtLocation  3  <--Storage Room
   FlagOFF  35
   PrintMessage  182
   GoToRoom  12  <--West of the Priory
   DoneWithTurn 
END_COMMAND

COMMAND CLIMB ANY 
   NOUNIsNumber  236
   OR 
   NOUNIsNumber  237
   PrintMessage  182
   GoToRoom  3  <--Storage Room
   DoneWithTurn 
END_COMMAND

COMMAND CLIMB ANY 
   PrintMessage  183
   DoneWithTurn 
END_COMMAND

COMMAND LOOK COURTYARD IN COURTYARD
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND EXAMINE COURTYARD 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   FlagOFF  11
   SetVariableTo  4 13
   TurnFlagON  11
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   TurnsEquals  28
   AtLocation  3  <--Storage Room
   Tone  440 100
   PrintMessage  16
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   FlagOFF  245
   TurnsEquals  30
   AtLocationGT  7  <--Priest's Hole
   OR 
   AtLocationLT  3  <--Storage Room
   Tone  300 250
   PrintMessage  15
   TurnFlagON  245
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   TurnsEquals  30
   SwapLocations  232 233  <--LOCKED DOOR, UNLOCKED DOOR
   SendToRoom  234 3  <--DEAD BUTLER, Storage Room
   SendToRoom  235 3  <--BRASS KEY, Storage Room
   SwapLocations  236 237  <--STOREROOM WINDOW, OPEN WINDOW
   AtLocation  3  <--Storage Room
   Tone  100 500
   PrintMessage  14
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   AtLocationGT  18  <--Woods
   AtLocationLT  47  <--none
   TurnsLT  120
   Chance  2
   PrintMessage  84
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   FlagOFF  246
   TurnsEquals  121
   SetVariableTo  10 18
   RandomVariable  11 22
   AddVariables  10 11
   SendToVariableRoom  247 10
   Tone  440 100
   PrintMessage  88
   TurnFlagON  246
   QuitThisCMD 
END_COMMAND

COMMAND WEST ANY 
   AtLocation  3  <--Storage Room
   CounterGT  25 0
   Tone  440 100
   PrintMessage  161
   DoneWithTurn 
END_COMMAND

COMMAND EXIT ANY 
   AtLocation  3  <--Storage Room
   CounterGT  25 0
   Tone  440 100
   PrintMessage  161
   DoneWithTurn 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  4  <--Corridor
   CounterGT  25 0
   Tone  440 100
   PrintMessage  161
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   TurnsEquals  65
   SendToRoom  201 9  <--GUARD MUMMY, In Front of the Priory
   TurnFlagOFF  3
   AtLocation  9  <--In Front of the Priory
   NOT  VerbIsDirection 
   FlagOFF  247
   Tone  440 100
   PrintMessage  26
   TurnFlagON  247
   QuitThisCMD 
END_COMMAND

COMMAND SOUTH ANY 
   TurnsEquals  65
   AtLocation  9  <--In Front of the Priory
   Tone  440 100
   PrintMessage  26
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   FlagOFF  10
   TurnsGT  65
   OR 
   FlagON  8
   SendToRoom  243 244  <--CHARRED REMAINS, LARGE CHEST
   CloseIt  244  <--LARGE CHEST
   LockIt  244  <--LARGE CHEST
   TurnFlagON  10
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   TurnsGT  65
   TurnFlagOFF  33
   QuitThisCMD 
END_COMMAND

COMMAND EXAMINE ANY 
   FlagOFF  22
   NOUNIsNumber  240
   AtLocation  52  <--Inside the Structure
   PrintMessage  89
   PlusScore  10
   TurnFlagON  22
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   FlagOFF  20
   TurnsGT  85
   NOT AtLocation  22  <--Woods
   NOT AtLocationGT  40  <--Woods, West of the Lodge.
   OR 
   AtLocation  49  <--The Lodge
   SendToRoom  265 22  <--FUNERAL URN, Woods
   TurnFlagON  20
   QuitThisCMD 
END_COMMAND

COMMAND TURN ANY 
   NOUNIsNumber  265
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none URN 
   QuitThisCMD 
END_COMMAND

COMMAND DEACTIVATE ANY 
   FlagON  22
   NOUNIsNumber  265
   Present  265  <--FUNERAL URN
   Present  200  <--SONIC SCREWDRIVER
   PrintMessage  90
   Destroy  265  <--FUNERAL URN
   ChangePassageway  3 Inventory,   <--EAST, Woods
   SendToRoom  266 22  <--FUNERAL URN, Woods
   PlusScore  10
   DoneWithTurn 
END_COMMAND

COMMAND SOUTH ANY 
   AtLocation  6  <--Temple
   FlagON  15
   FlagOFF  17
   FlagOFF  26
   PrintMessage  83
   WaitForReturn 
   GoToRoom  7  <--Priest's Hole
   PlusScore  5
   SendToRoom  259 6  <--SMALL LODESTONE, Temple
   TurnFlagON  17
   DoneWithTurn 
END_COMMAND

COMMAND SOUTH ANY 
   AtLocation  6  <--Temple
   NOT Present  259  <--SMALL LODESTONE
   FlagON  15
   FlagOFF  17
   FlagON  26
   PrintMessage  145
   WaitForReturn 
   GoToRoom  7  <--Priest's Hole
   SendToRoom  259 6  <--SMALL LODESTONE, Temple
   PlusScore  5
   TurnFlagON  17
   DoneWithTurn 
END_COMMAND

COMMAND READ ANY 
   NOUNIsNumber  264
   Present  264  <--MARCONISCOPE PRINTOUT
   FlagOFF  18
   PrintMessage  82
   TurnFlagON  18
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE ANY 
   NOUNIsNumber  247
   Present  247  <--DEAD POACHER
   FlagOFF  19
   PrintMessage  85
   SendToVariableRoom  263 10
   PlusScore  2
   TurnFlagON  19
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   TurnsEquals  100
   SetVariableTo  3 2
   Destroy  241  <--NOTHING COURTYARD
   RelocateAll  14 120  <--Gate, Gate
   RelocateAll  15 50  <--Courtyard, Courtyard
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   TurnsEquals  200
   Destroy  301  <--LAURENCE SCARMAN
   SendToRoom  239 49  <--DEAD BODY, The Lodge
   SendToRoom  255 49  <--MAGNIFYING GLASS, The Lodge
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   TurnsEquals  300
   SetVariableTo  3 3
   Destroy  202  <--NONE COURTYARD
   RelocateAll  120 121  <--Gate, Gate
   RelocateAll  50 51  <--Courtyard, Courtyard
   IsLocated  272 50  <--HEAVY EQUIPMENT, Courtyard
   Destroy  272  <--HEAVY EQUIPMENT
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   TurnsEquals  197
   AtLocation  49  <--The Lodge
   NOT  VerbIsDirection 
   Tone  440 100
   PrintMessage  33
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   TurnsEquals  197
   AtLocation  38  <--Woods, in front of the Lodge.
   FlagOFF  248
   Tone  440 100
   PrintMessage  38
   TurnFlagON  248
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   TurnsEquals  200
   AtLocation  49  <--The Lodge
   NOT  VerbIsDirection 
   PrintMessage  35
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   TurnsEquals  199
   NOT  VerbIsDirection 
   AtLocation  38  <--Woods, in front of the Lodge.
   PrintMessage  37
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   TurnsEquals  350
   FlagOFF  30
   AtLocationGT  1
   AtLocationLT  8  <--East of the Priory
   Tone  440 100
   PrintMessage  123
   WaitForReturn 
   EndGame 
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   TurnsEquals  350
   FlagOFF  30
   AtLocation  49  <--The Lodge
   OR 
   AtLocation  54  <--Inside the Shed
   OR 
   AtLocation  53  <--Anteroom
   Tone  440 100
   PrintMessage  123
   WaitForReturn 
   EndGame 
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   TurnsEquals  350
   FlagOFF  30
   Tone  440 100
   PrintMessage  122
   WaitForReturn 
   EndGame 
   DoneWithTurn 
END_COMMAND

COMMAND DROP ANY 
   NOUNIsNumber  205
   IsCarrying  205  <--SWEATY GELIGNITE
   PrintMessage  94
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   CounterEquals  6 0
   FlagOFF  34
   AtLocation  6  <--Temple
   ChangePassageway  11   <--ENTER, Nowhere}
   QuitThisCMD 
END_COMMAND

COMMAND PUSH ANY 
   NOUNIsNumber  259
   Present  259  <--SMALL LODESTONE
   PrintMessage  86
   Destroy  258  <--LARGE SARCOPHAGUS
   Destroy  259  <--SMALL LODESTONE
   ChangePassageway  11,   <--ENTER, Anteroom
   SendToRoom  204 6  <--SPINNING VORTEX, Temple
   TurnCounterON  6
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   FlagOFF  29
   CounterGT  6 5
   TurnCounterOFF  6
   Destroy  204  <--SPINNING VORTEX
   SendToRoom  258 6  <--LARGE SARCOPHAGUS, Temple
   SendToRoom  259 6  <--SMALL LODESTONE, Temple
   AtLocation  6  <--Temple
   PrintMessage  87
   ChangePassageway  11   <--ENTER, Nowhere}
   QuitThisCMD 
END_COMMAND

COMMAND ENTER ANY 
   AtLocation  6  <--Temple
   CounterGT  13 2
   PrintMessage  160
   DoneWithTurn 
END_COMMAND

COMMAND ENTER ANY 
   CounterEquals  13 0
   Present  204  <--SPINNING VORTEX
   OR 
   Present  292  <--SWIRLING VORTEX
   PrintMessage  138
   QuitThisCMD 
END_COMMAND

COMMAND WEST ANY 
   FlagON  20
   AtLocation  41  <--Woods
   OR 
   AtLocation  45  <--Woods
   Tone  440 100
   PrintMessage  12
   DoneWithTurn 
END_COMMAND

COMMAND EAST ANY 
   FlagON  20
   NOT Present  266  <--FUNERAL URN
   AtLocationGT  20  <--Woods
   AtLocationLT  26  <--Woods, behind the Lodge.
   Tone  440 100
   PrintMessage  12
   DoneWithTurn 
END_COMMAND

COMMAND SOUTH ANY 
   AtLocation  9  <--In Front of the Priory
   NOT IsWearing  249  <--GLOWING RING
   NOT IsWearing  230  <--MUMMY WRAPPINGS
   TurnsGT  65
   PrintMessage  63
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND SOUTH ANY 
   AtLocation  9  <--In Front of the Priory
   FlagOFF  3
   Tone  440 100
   PrintMessage  18
   DoneWithTurn 
END_COMMAND

COMMAND SOUTH ANY 
   AtLocation  9  <--In Front of the Priory
   FlagON  10
   FlagOFF  9
   PrintMessage  61
   QuitThisCMD 
END_COMMAND

COMMAND WEST ANY 
   AtLocation  6  <--Temple
   FlagON  10
   FlagOFF  9
   PrintMessage  61
   QuitThisCMD 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  4  <--Corridor
   FlagON  3
   NOT IsWearing  230  <--MUMMY WRAPPINGS
   NOT IsWearing  249  <--GLOWING RING
   TurnsGT  65
   PrintMessage  63
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  4  <--Corridor
   FlagOFF  3
   Tone  440 100
   PrintMessage  18
   DoneWithTurn 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  4  <--Corridor
   FlagON  3
   GoToRoom  9  <--In Front of the Priory
   DoneWithTurn 
END_COMMAND

COMMAND OPEN ANY 
   NounIsCreature 
   NOUNIsNumber  316
   OR 
   NOUNIsNumber  317
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND OPEN DOORS 
   QuitThisCMD 
END_COMMAND

COMMAND CLOSE ANY 
   NounIsCreature 
   NOUNIsNumber  316
   OR 
   NOUNIsNumber  317
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND CLOSE DOORS 
   QuitThisCMD 
END_COMMAND

COMMAND OPEN DOORS 
   AtLocation  9  <--In Front of the Priory
   TurnsLT  30
   FlagOFF  1
   PrintMessage  59
   DoneWithTurn 
END_COMMAND

COMMAND OPEN DOORS 
   AtLocation  9  <--In Front of the Priory
   FlagON  1
   FlagON  4
   TurnsLT  31
   PrintMessage  60
   DoneWithTurn 
END_COMMAND

COMMAND OPEN DOORS 
   FlagOFF  3
   FlagOFF  27
   AtLocation  4  <--Corridor
   TurnsGT  64
   Tone  440 100
   PrintMessage  114
   TurnFlagON  27
   DoneWithTurn 
END_COMMAND

COMMAND OPEN DOORS 
   FlagOFF  3
   AtLocation  9  <--In Front of the Priory
   OR 
   AtLocation  4  <--Corridor
   TurnsGT  30
   TurnFlagON  3
   PrintMessage  57
   DoneWithTurn 
END_COMMAND

COMMAND OPEN DOORS 
   AtLocation  9  <--In Front of the Priory
   OR 
   AtLocation  4  <--Corridor
   FlagON  3
   PrintMessage  115
   DoneWithTurn 
END_COMMAND

COMMAND CLOSE DOORS 
   FlagON  3
   AtLocation  9  <--In Front of the Priory
   OR 
   AtLocation  4  <--Corridor
   TurnsGT  30
   TurnFlagOFF  3
   PrintMessage  58
   DoneWithTurn 
END_COMMAND

COMMAND CLOSE DOORS 
   AtLocation  9  <--In Front of the Priory
   OR 
   AtLocation  4  <--Corridor
   FlagOFF  3
   PrintMessage  115
   DoneWithTurn 
END_COMMAND

COMMAND OPEN CHEST IN KEY
   AtLocation  4  <--Corridor
   IsLocked  244  <--LARGE CHEST
   PrintMessage  46
   DoneWithTurn 
END_COMMAND

COMMAND OPEN ANY 
   NOUNIsNumber  244
   AtLocation  4  <--Corridor
   NOT IsLocked  244  <--LARGE CHEST
   FlagON  10
   FlagOFF  9
   PrintMessage  62
   TurnFlagON  9
   OpenIt  244  <--LARGE CHEST
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE ANY 
   NOUNIsNumber  243
   AtLocation  4  <--Corridor
   FlagON  9
   FlagOFF  12
   IsOpen  244  <--LARGE CHEST
   PrintMessage  65
   SendToRoom  248 244  <--EMERALD RING, LARGE CHEST
   PlusScore  3
   TurnFlagON  12
   DoneWithTurn 
END_COMMAND

COMMAND WEAR ANY 
   FlagOFF  24
   NOUNIsNumber  230
   Present  230  <--MUMMY WRAPPINGS
   NOT IsWearing  230  <--MUMMY WRAPPINGS
   IsWearing  216  <--FELT HAT
   PrintMessage  107
   TurnFlagON  24
   DoneWithTurn 
END_COMMAND

COMMAND WEAR ANY 
   NOUNIsNumber  230
   Present  230  <--MUMMY WRAPPINGS
   NOT IsWearing  230  <--MUMMY WRAPPINGS
   PrintMessage  103
   WearIt  230  <--MUMMY WRAPPINGS
   TurnCounterON  5
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   CounterEquals  5 8
   Tone  440 100
   PrintMessage  74
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   CounterEquals  5 11
   Tone  440 100
   PrintMessage  75
   Destroy  230  <--MUMMY WRAPPINGS
   PutInCurrentRoom  254  <--RIPPED BANDAGES
   DoneWithTurn 
END_COMMAND

COMMAND REMOVE ALL 
   IsWearing  230  <--MUMMY WRAPPINGS
   TurnCounterOFF  5
   QuitThisCMD 
END_COMMAND

COMMAND REMOVE ANY 
   NOUNIsNumber  230
   IsWearing  230  <--MUMMY WRAPPINGS
   TurnCounterOFF  5
   QuitThisCMD 
END_COMMAND

COMMAND DROP ANY 
   NOUNIsNumber  230
   IsWearing  230  <--MUMMY WRAPPINGS
   TurnCounterOFF  5
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   Present  249  <--GLOWING RING
   SubtractFromVariable  4 1
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   VariableEquals  4 4
   PrintMessage  67
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   VariableEquals  4 0
   PrintMessage  68
   Destroy  248  <--EMERALD RING
   Destroy  249  <--GLOWING RING
   WearIt  250  <--EMERALD RING
   SetVariableTo  4 20
   QuitThisCMD 
END_COMMAND

COMMAND WEAR ANY 
   NOUNIsNumber  248
   Present  248  <--EMERALD RING
   WearIt  249  <--GLOWING RING
   Destroy  248  <--EMERALD RING
   PrintMessage  66
   DoneWithTurn 
END_COMMAND

COMMAND REMOVE ANY 
   NOUNIsNumber  249
   IsWearing  249  <--GLOWING RING
   PrintMessage  69
   Destroy  249  <--GLOWING RING
   GetIt  248  <--EMERALD RING
   DoneWithTurn 
END_COMMAND

COMMAND DROP ANY 
   NOUNIsNumber  249
   IsWearing  249  <--GLOWING RING
   PrintMessage  69
   Destroy  249  <--GLOWING RING
   PutInCurrentRoom  248  <--EMERALD RING
   DoneWithTurn 
END_COMMAND

COMMAND GET ANY 
   NOUNIsNumber  249
   IsWearing  249  <--GLOWING RING
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND REMOVE RING 
   QuitThisCMD 
END_COMMAND

COMMAND EXAMINE WINDOW 
   AtLocation  8  <--East of the Priory
   TurnsLT  50
   PrintMessage  53
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE DOORS 
   AtLocation  4  <--Corridor
   TurnsLT  50
   NOUNIsNumber  295
   PrintMessage  53
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE WINDOW 
   AtLocation  8  <--East of the Priory
   TurnsGT  49
   TurnsLT  58
   FlagOFF  7
   PrintMessage  50
   TurnFlagON  7
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE ANY 
   AtLocation  4  <--Corridor
   TurnsGT  49
   TurnsLT  58
   NOUNIsNumber  295
   FlagOFF  7
   PrintMessage  50
   TurnFlagON  7
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE WINDOW 
   AtLocation  8  <--East of the Priory
   TurnsGT  49
   TurnsLT  60
   FlagON  7
   PrintMessage  51
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE ANY 
   AtLocation  4  <--Corridor
   TurnsGT  49
   TurnsLT  60
   FlagON  7
   NOUNIsNumber  295
   PrintMessage  51
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE WINDOW 
   AtLocation  8  <--East of the Priory
   TurnsGT  59
   TurnsLT  66
   FlagOFF  8
   PrintMessage  52
   TurnFlagON  8
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE ANY 
   AtLocation  4  <--Corridor
   NOUNIsNumber  295
   TurnsGT  59
   TurnsLT  66
   FlagOFF  8
   PrintMessage  148
   TurnFlagON  8
   TurnFlagON  33
   DoneWithTurn 
END_COMMAND

COMMAND WEST ANY 
   AtLocation  4  <--Corridor
   FlagON  33
   GoToRoom  3  <--Storage Room
   PrintMessage  150
   TurnFlagOFF  33
   DoneWithTurn 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  4  <--Corridor
   FlagON  33
   PrintMessage  149
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  4  <--Corridor
   FlagON  33
   FlagON  3
   GoToRoom  3  <--Storage Room
   TurnFlagOFF  33
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   AtLocation  4  <--Corridor
   FlagON  33
   NOT  VerbIsDirection 
   TurnFlagOFF  33
   PrintMessage  149
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND EXAMINE WINDOW 
   AtLocation  8  <--East of the Priory
   TurnsGT  65
   OR 
   FlagON  8
   PrintMessage  55
   DoneWithTurn 
END_COMMAND

COMMAND OPEN CAGE 
   NOUNIsNumber  280
   AtLocation  59  <--The Pyramids of Mars
   PrintMessage  167
   Destroy  206  <--BROWN FERRET
   SwapLocations  280 281  <--FERRET CAGE, FERRET CAGE
   PlusScore  10
   TurnCounterON  7
   DoneWithTurn 
END_COMMAND

COMMAND OPEN CAGE 
   NOUNIsNumber  280
   PrintMessage  113
   Destroy  206  <--BROWN FERRET
   SwapLocations  280 281  <--FERRET CAGE, FERRET CAGE
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE FERRET 
   Present  280  <--FERRET CAGE
   DescribeThing  206  <--BROWN FERRET
   DoneWithTurn 
END_COMMAND

COMMAND PUSH ANY 
   Present  280  <--FERRET CAGE
   NOUNIsNumber  206
   PrintMessage  146
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   AtLocation  44  <--Woods
   IsOpen  261  <--BATTERED SHED
   ChangePassageway  11   <--ENTER, Inside the Shed
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   AtLocation  44  <--Woods
   IsClosed  261  <--BATTERED SHED
   ChangePassageway  11   <--ENTER, Nowhere}
   QuitThisCMD 
END_COMMAND

COMMAND EXAMINE WINDOW 
   AtLocation  26  <--Woods, behind the Lodge.
   FlagOFF  13
   TurnsGT  199
   TurnsLT  206
   PrintMessage  72
   TurnFlagON  13
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE WINDOW 
   AtLocation  26  <--Woods, behind the Lodge.
   TurnsGT  205
   OR 
   FlagON  13
   PrintMessage  73
   DoneWithTurn 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  4  <--Corridor
   TurnsLT  50
   FlagOFF  16
   GoToRoom  6  <--Temple
   LookAtRoom 
   PrintMessage  80
   TurnFlagOFF  3
   TurnFlagON  16
   GoToRoom  9  <--In Front of the Priory
   DoneWithTurn 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  4  <--Corridor
   TurnsLT  50
   FlagON  16
   PrintMessage  81
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  4  <--Corridor
   TurnsGT  49
   TurnsLT  66
   Tone  440 100
   PrintMessage  56
   DoneWithTurn 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  13  <--Garden
   FlagOFF  32
   TurnsGT  99
   TurnsLT  300
   ChangePassageway  3led to open   <--EAST, Gate
   GoToRoom  120  <--Gate
   PrintMessage  147
   TurnFlagON  32
   DoneWithTurn 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  13  <--Garden
   FlagOFF  251
   TurnsGT  299
   ChangePassageway  3ed to open   <--EAST, Gate
   GoToRoom  121  <--Gate
   PrintMessage  151
   TurnFlagON  251
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   FlagOFF  30
   AtLocation  50  <--Courtyard
   NOT IsWearing  230  <--MUMMY WRAPPINGS
   NOT IsWearing  249  <--GLOWING RING
   PrintMessage  71
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   AtLocation  51  <--Courtyard
   NOT IsWearing  230  <--MUMMY WRAPPINGS
   NOT IsWearing  249  <--GLOWING RING
   PrintMessage  71
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND EXIT ANY 
   AtLocation  52  <--Inside the Structure
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND DOWN ANY 
   QuitThisCMD 
END_COMMAND

COMMAND DOWN ANY 
   AtLocation  52  <--Inside the Structure
   NOT IsWearing  230  <--MUMMY WRAPPINGS
   NOT IsWearing  249  <--GLOWING RING
   PrintMessage  39
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  120  <--Gate
   FlagOFF  30
   TurnsGT  99
   NOT IsWearing  230  <--MUMMY WRAPPINGS
   NOT IsWearing  249  <--GLOWING RING
   PrintMessage  39
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  121  <--Gate
   FlagOFF  30
   TurnsGT  99
   NOT IsWearing  230  <--MUMMY WRAPPINGS
   NOT IsWearing  249  <--GLOWING RING
   PrintMessage  39
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND EAST ANY 
   FlagOFF  30
   AtLocation  120  <--Gate
   TurnsGT  99
   NOT IsWearing  249  <--GLOWING RING
   IsWearing  230  <--MUMMY WRAPPINGS
   IsWearing  216  <--FELT HAT
   PrintMessage  105
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND EAST ANY 
   FlagOFF  30
   AtLocation  121  <--Gate
   TurnsGT  99
   NOT IsWearing  249  <--GLOWING RING
   IsWearing  230  <--MUMMY WRAPPINGS
   IsWearing  216  <--FELT HAT
   PrintMessage  105
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND EAST ANY 
   FlagOFF  30
   AtLocation  120  <--Gate
   TurnsGT  99
   TurnsLT  300
   GoToRoom  50  <--Courtyard
   PrintMessage  40
   DoneWithTurn 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  13  <--Garden
   FlagON  30
   ChangePassageway  3d to open   <--EAST, Gate
   GoToRoom  122  <--Gate
   DoneWithTurn 
END_COMMAND

COMMAND PUT SHELL IN RIFLE
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND OUT RIFLE 
   QuitThisCMD 
END_COMMAND

COMMAND LOAD ANY 
   NOUNIsNumber  267
   Present  268  <--RIFLE SHELL
   Present  267  <--HUNTING RIFLE
   PrintMessage  99
   Destroy  268  <--RIFLE SHELL
   SwapLocations  267 269  <--HUNTING RIFLE, HUNTING RIFLE
   DoneWithTurn 
END_COMMAND

COMMAND LOAD ANY 
   NOUNIsNumber  267
   Present  267  <--HUNTING RIFLE
   NOT Present  268  <--RIFLE SHELL
   PrintMessage  100
   DoneWithTurn 
END_COMMAND

COMMAND PUT ANY IN RAMP
   NOUNIsNumber  205
   IsCarrying  205  <--SWEATY GELIGNITE
   AtLocation  50  <--Courtyard
   OR 
   AtLocation  51  <--Courtyard
   DropIt  205  <--SWEATY GELIGNITE
   PrintMessage  95
   Destroy  241  <--NOTHING COURTYARD
   Destroy  202  <--NONE COURTYARD
   Destroy  242  <--NONE COURTYARD
   TurnFlagON  23
   SendToRoom  271 120  <--PRIORY COURTYARD, Gate
   TurnsGT  299
   SendToRoom  271 121  <--PRIORY COURTYARD, Gate
   QuitThisCMD 
END_COMMAND

COMMAND FIRE RIFLE IN GELIGNITE
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND FIRE GELIGNITE 
   QuitThisCMD 
END_COMMAND

COMMAND FIRE RIFLE 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND FIRE ANY IN RIFLE
   QuitThisCMD 
END_COMMAND

COMMAND FIRE ANY 
   NOT IsCarrying  269  <--HUNTING RIFLE
   NOT IsCarrying  267  <--HUNTING RIFLE
   PrintMessage  102
   DoneWithTurn 
END_COMMAND

COMMAND FIRE ANY 
   NOT IsCarrying  269  <--HUNTING RIFLE
   IsCarrying  267  <--HUNTING RIFLE
   PrintMessage  100
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE GELIGNITE 
   FlagON  23
   NOT Present  218  <--SWEATY GELIGNITE
   AtLocation  120  <--Gate
   OR 
   AtLocation  121  <--Gate
   OR 
   AtLocation  50  <--Courtyard
   OR 
   AtLocation  51  <--Courtyard
   DescribeThing  271  <--PRIORY COURTYARD
   DoneWithTurn 
END_COMMAND

COMMAND FIRE GELIGNITE 
   AtLocation  120  <--Gate
   FlagON  23
   PlusScore  10
   SwapLocations  205 218  <--SWEATY GELIGNITE, SWEATY GELIGNITE
   SwapLocations  267 269  <--HUNTING RIFLE, HUNTING RIFLE
   PrintMessage  96
   TurnFlagON  26
   DoneWithTurn 
END_COMMAND

COMMAND FIRE GELIGNITE 
   AtLocation  121  <--Gate
   FlagON  23
   SwapLocations  205 218  <--SWEATY GELIGNITE, SWEATY GELIGNITE
   SwapLocations  267 269  <--HUNTING RIFLE, HUNTING RIFLE
   PlusScore  10
   PrintMessage  96
   TurnFlagON  26
   DoneWithTurn 
END_COMMAND

COMMAND FIRE ANY IN RIFLE
   NOUNIsNumber  205
   FlagON  23
   AtLocation  120  <--Gate
   OR 
   AtLocation  121  <--Gate
   SwapLocations  205 218  <--SWEATY GELIGNITE, SWEATY GELIGNITE
   SwapLocations  267 269  <--HUNTING RIFLE, HUNTING RIFLE
   PlusScore  10
   PrintMessage  96
   TurnFlagON  26
   DoneWithTurn 
END_COMMAND

COMMAND FIRE ANY IN RIFLE
   NOUNIsNumber  205
   Present  205  <--SWEATY GELIGNITE
   Destroy  205  <--SWEATY GELIGNITE
   SwapLocations  267 269  <--HUNTING RIFLE, HUNTING RIFLE
   PrintMessage  97
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND FIRE MUMMY IN RIFLE
   Present  201  <--GUARD MUMMY
   OR 
   AtLocation  50  <--Courtyard
   OR 
   AtLocation  51  <--Courtyard
   PrintMessage  104
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND FIRE ANY IN RIFLE
   PrintMessage  101
   DoneWithTurn 
END_COMMAND

COMMAND PULL ANY 
   AtLocation  9  <--In Front of the Priory
   NOUNIsNumber  238
   TurnsLT  30
   FlagON  1
   PrintMessage  29
   DoneWithTurn 
END_COMMAND

COMMAND PULL ANY 
   NOUNIsNumber  238
   AtLocation  9  <--In Front of the Priory
   TurnsLT  30
   PrintMessage  28
   TurnFlagON  1
   TurnFlagON  4
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   FlagOFF  28
   CounterEquals  8 3
   Present  285  <--LIT DYNAMITE
   Tone  340 100
   TurnCounterOFF  8
   PrintMessage  129
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND LIGHT ANY 
   NOUNIsNumber  284
   Present  284  <--BOX OF MATCHES
   PrintMessage  125
   DoneWithTurn 
END_COMMAND

COMMAND LIGHT ANY 
   NOUNIsNumber  283
   Present  283  <--OLD DYNAMITE
   Present  284  <--BOX OF MATCHES
   PrintMessage  128
   SwapLocations  283 285  <--OLD DYNAMITE, LIT DYNAMITE
   TurnCounterON  8
   DoneWithTurn 
END_COMMAND

COMMAND LIGHT ANY 
   NOT Present  284  <--BOX OF MATCHES
   PrintMessage  130
   DoneWithTurn 
END_COMMAND

COMMAND THROW ANY 
   NOUNIsNumber  285
   ObjectIsNumber  204
   AtLocation  6  <--Temple
   CounterEquals  13 0
   Present  204  <--SPINNING VORTEX
   Present  285  <--LIT DYNAMITE
   Destroy  285  <--LIT DYNAMITE
   PrintMessage  131
   TurnFlagON  28
   DoneWithTurn 
END_COMMAND

COMMAND SOUTH ANY 
   AtLocation  38  <--Woods, in front of the Lodge.
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND ENTER ANY 
   QuitThisCMD 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  49  <--The Lodge
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND EXIT ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ENTER ANY 
   AtLocation  38  <--Woods, in front of the Lodge.
   TurnsLT  200
   FlagOFF  2
   PrintMessage  30
   SetVariableTo  2 31
   TurnFlagON  2
   QuitThisCMD 
END_COMMAND

COMMAND ENTER ANY 
   TurnsLT  200
   AtLocation  38  <--Woods, in front of the Lodge.
   VariableEquals  2 32
   TurnsGT  60
   PrintMessage  32
   SetVariableTo  2 33
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   TurnsEquals  61
   SetVariableTo  2 32
   QuitThisCMD 
END_COMMAND

COMMAND ENTER ANY 
   AtLocation  38  <--Woods, in front of the Lodge.
   TurnsLT  200
   VariableEquals  2 31
   TurnsGT  30
   PrintMessage  31
   SetVariableTo  2 32
   QuitThisCMD 
END_COMMAND

COMMAND EXIT ANY 
   TurnsEquals  200
   OR 
   TurnsEquals  199
   AtLocation  49  <--The Lodge
   PrintMessage  34
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND EXIT ANY 
   TurnsEquals  198
   AtLocation  49  <--The Lodge
   FlagOFF  249
   Tone  440 100
   PrintMessage  36
   TurnFlagON  249
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   AtLocation  9  <--In Front of the Priory
   Present  201  <--GUARD MUMMY
   CounterLT  1 1
   TurnCounterON  1
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   NOT IsWearing  230  <--MUMMY WRAPPINGS
   NOT IsWearing  249  <--GLOWING RING
   NOT  VerbIsDirection 
   TurnsGT  64
   AtLocation  9  <--In Front of the Priory
   CounterGT  1 2
   PrintMessage  27
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   NOT IsWearing  249  <--GLOWING RING
   IsWearing  230  <--MUMMY WRAPPINGS
   IsWearing  216  <--FELT HAT
   NOT  VerbIsDirection 
   TurnsGT  64
   AtLocation  9  <--In Front of the Priory
   CounterGT  1 2
   PrintMessage  106
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   NOT AtLocation  9  <--In Front of the Priory
   TurnCounterOFF  1
   QuitThisCMD 
END_COMMAND

COMMAND UNLOCK ANY IN SCREWDRIVER
   PrintMessage  13
   DoneWithTurn 
END_COMMAND

COMMAND LOOK KEYHOLE IN KEYHOLE
   AtLocation  3  <--Storage Room
   PrintMessage  64
   DoneWithTurn 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  3  <--Storage Room
   Present  232  <--LOCKED DOOR
   Tone  440 100
   PrintMessage  18
   DoneWithTurn 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  3  <--Storage Room
   FlagON  10
   FlagOFF  9
   PrintMessage  61
   QuitThisCMD 
END_COMMAND

COMMAND ENTER ANY 
   AtLocation  3  <--Storage Room
   NOT Present  203  <-- TARDIS
   PrintMessage  119
   DoneWithTurn 
END_COMMAND

COMMAND TURN CIRCUIT 
   FlagON  30
   AtLocation  3  <--Storage Room
   SendToRoom  203 3  <-- TARDIS, Storage Room
   PrintMessage  120
   PlusScore  5
   DoneWithTurn 
END_COMMAND

COMMAND TURN CIRCUIT 
   FlagON  30
   NOT AtLocation  3  <--Storage Room
   SendToRoom  203 3  <-- TARDIS, Storage Room
   PrintMessage  121
   PlusScore  5
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE TARDIS 
   AtLocation  3  <--Storage Room
   NOT Present  203  <-- TARDIS
   PrintMessage  119
   DoneWithTurn 
END_COMMAND

COMMAND PULL LEVER 
   CounterGT  25 1
   AtLocation  2  <--TARDIS Console Room
   PrintMessage  2
   PrintMessage  169
   PlusScore  12
   WaitForReturn 
   WinGame 
   DoneWithTurn 
END_COMMAND

COMMAND PULL LEVER 
   AtLocation  2  <--TARDIS Console Room
   Present  223  <--MAIN DOORS
   PrintMessage  1
   SwapLocations  223 224  <--MAIN DOORS, MAIN DOORS
   TurnFlagON  6
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   FlagON  6
   FlagON  5
   ChangePassageway  12  <--  <--EXIT, The Pyramids of Mars
   SendToRoom  203 59  <-- TARDIS, The Pyramids of Mars
   TurnFlagOFF  6
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   FlagON  6
   FlagOFF  5
   ChangePassageway  12  <--EXIT, Storage Room
   SendToRoom  203 3  <-- TARDIS, Storage Room
   TurnFlagOFF  6
   DoneWithTurn 
END_COMMAND

COMMAND PULL LEVER 
   AtLocation  2  <--TARDIS Console Room
   Present  224  <--MAIN DOORS
   PrintMessage  2
   ChangePassageway  12   <--EXIT, Nowhere}
   SwapLocations  224 223  <--MAIN DOORS, MAIN DOORS
   DoneWithTurn 
END_COMMAND

COMMAND PULL LEVER 
   PrintMessage  3
   DoneWithTurn 
END_COMMAND

COMMAND EXIT ANY 
   AtLocation  2  <--TARDIS Console Room
   Present  223  <--MAIN DOORS
   Tone  440 100
   PrintMessage  4
   DoneWithTurn 
END_COMMAND

COMMAND PUSH BUTTON 
   AtLocation  2  <--TARDIS Console Room
   Present  223  <--MAIN DOORS
   SomethingInside  225  <--COORDINATE SLOT
   PrintMessage  5
   SwapLocations  219 226  <--TARDIS SCANNER, TARDIS SCANNER
   ToggleFlag  5
   DoneWithTurn 
END_COMMAND

COMMAND PUSH BUTTON 
   AtLocation  2  <--TARDIS Console Room
   Present  223  <--MAIN DOORS
   NOT SomethingInside  225  <--COORDINATE SLOT
   Tone  440 100
   PrintMessage  7
   DoneWithTurn 
END_COMMAND

COMMAND PUSH BUTTON 
   AtLocation  2  <--TARDIS Console Room
   Present  224  <--MAIN DOORS
   Tone  440 100
   PrintMessage  6
   DoneWithTurn 
END_COMMAND

COMMAND PUSH BUTTON 
   PrintMessage  8
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   TurnsEquals  35
   Destroy  279  <--COMPUTER SCREEN
   SendToRoom  275 2  <--COMPUTER SCREEN, TARDIS Console Room
   QuitThisCMD 
END_COMMAND

COMMAND TYPE ANY 
   FlagOFF  99
   Present  276  <--COMPUTER KEYBOARD
   Present  275  <--COMPUTER SCREEN
   NounIsCreature 
   MakeVarNounNum  20
   VariableGT  20 360
   VariableLT  20 400
   SubtractFromVariable  20 150
   TurnFlagON  99
   QuitThisCMD 
END_COMMAND

COMMAND TYPE ANY 
   FlagOFF  99
   Present  276  <--COMPUTER KEYBOARD
   Present  275  <--COMPUTER SCREEN
   MakeVarNounNum  20
   VariableLT  20 214
   VariableGT  20 199
   AddToVariable  20 26
   TurnFlagON  99
   QuitThisCMD 
END_COMMAND

COMMAND TYPE ANY 
   FlagON  99
   PrintMessage  152
   Delay  1
   PrintMessage  153
   Delay  1
   PrintMessage  154
   WaitForReturn 
   ClearScreen 
   PrintMessage  112
   PrintVariableMessage  20
   WaitForReturn 
   ClearScreen 
   LookAtRoom 
   TurnFlagOFF  99
   DoneWithTurn 
END_COMMAND

COMMAND TYPE ANY 
   NOT Present  275  <--COMPUTER SCREEN
   PrintMessage  108
   DoneWithTurn 
END_COMMAND

COMMAND TYPE ANY 
   Present  276  <--COMPUTER KEYBOARD
   PrintMessage  152
   Delay  1
   PrintMessage  110
   DoneWithTurn 
END_COMMAND

COMMAND TYPE ANY 
   NOT Present  276  <--COMPUTER KEYBOARD
   PrintMessage  111
   DoneWithTurn 
END_COMMAND

COMMAND PRY CASE 
   IsCarrying  231  <--IRON CROWBAR
   Present  228  <--MUMMY CASE
   PlusScore  2
   PrintMessage  9
   SwapLocations  228 229  <--MUMMY CASE, MUMMY CASE
   ShowContents  229
   DoneWithTurn 
END_COMMAND

COMMAND PRY ANY 
   NOT IsCarrying  231  <--IRON CROWBAR
   PrintMessage  10
   DoneWithTurn 
END_COMMAND

COMMAND PRY ANY 
   IsCarrying  231  <--IRON CROWBAR
   PrintMessage  11
   DoneWithTurn 
END_COMMAND

COMMAND OPEN ANY IN CROWBAR
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none NOUN 
   QuitThisCMD 
END_COMMAND

COMMAND LOOK PASSAGEWAY IN PASSAGEWAY
   AtLocation  53  <--Anteroom
   PrintMessage  116
   DoneWithTurn 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  53  <--Anteroom
   FlagOFF  26
   PrintMessage  117
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  53  <--Anteroom
   FlagON  26
   FlagOFF  30
   PrintMessage  118
   GoToRoom  6  <--Temple
   Destroy  271  <--PRIORY COURTYARD
   SendToRoom  273 122  <--PRIORY COURTYARD, Gate
   TurnFlagON  30
   Destroy  203  <-- TARDIS
   SendToRoom  227 225  <--SPATIAL COORDINATES, COORDINATE SLOT
   TurnCounterON  10
   PlusScore  8
   DoneWithTurn 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  53  <--Anteroom
   FlagON  30
   PrintMessage  135
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   AtLocationGT  59  <--The Pyramids of Mars
   AtLocationLT  94  <--Maze of Horus
   VerbIsDirection 
   GoToRandomRoom  60 93  <--Maze of Horus, Maze of Horus
   DoneWithTurn 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  108  <--Maze of Horus
   FlagOFF  31
   CounterEquals  12 0
   TurnCounterON  12
   QuitThisCMD 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  108  <--Maze of Horus
   FlagON  31
   GoToRoom  110  <--Chamber of Light
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   AtLocation  109  <--Chamber of Light
   CounterGT  12 6
   PrintMessage  144
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ATTACK ANY 
   AtLocation  109  <--Chamber of Light
   NOUNIsNumber  294
   OR 
   NOUNIsNumber  278
   PrintMessage  144
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   CounterEquals  11 32
   FlagOFF  34
   Tone  50 300
   PrintMessage  157
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND EAST ANY 
   CounterEquals  13 0
   FlagOFF  35
   AtLocation  4  <--Corridor
   FlagON  31
   CounterLT  11 32
   TurnFlagON  34
   TurnCounterON  13
   TurnCounterOFF  11
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   AtLocation  6  <--Temple
   CounterEquals  13 2
   Present  258  <--LARGE SARCOPHAGUS
   Destroy  258  <--LARGE SARCOPHAGUS
   Destroy  259  <--SMALL LODESTONE
   SendToRoom  204 6  <--SPINNING VORTEX, Temple
   FlagOFF  100
   PrintMessage  86
   TurnFlagON  100
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   AtLocation  6  <--Temple
   CounterEquals  13 3
   FlagOFF  101
   PrintMessage  132
   TurnFlagON  101
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   AtLocation  6  <--Temple
   CounterEquals  13 4
   FlagOFF  102
   PrintMessage  158
   TurnFlagON  102
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   AtLocation  6  <--Temple
   CounterEquals  13 5
   FlagOFF  103
   PrintMessage  159
   TurnFlagON  103
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   FlagON  34
   FlagOFF  35
   CounterEquals  13 6
   AtLocation  6  <--Temple
   Tone  50 300
   PrintMessage  134
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   FlagON  34
   FlagOFF  35
   CounterEquals  13 6
   NOT AtLocation  6  <--Temple
   Tone  50 300
   PrintMessage  157
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND THROW ANY 
   NOUNIsNumber  285
   ObjectIsNumber  204
   FlagON  34
   CounterGT  13 2
   PrintMessage  133
   Destroy  258  <--LARGE SARCOPHAGUS
   Destroy  285  <--LIT DYNAMITE
   TurnCounterOFF  13
   Destroy  204  <--SPINNING VORTEX
   PlusScore  15
   TurnFlagON  35
   TurnCounterON  25
   DoneWithTurn 
END_COMMAND

COMMAND THROW ANY 
   NOUNIsNumber  285
   ObjectIsNumber  363
   FlagON  34
   CounterGT  13 2
   PrintMessage  133
   Destroy  258  <--LARGE SARCOPHAGUS
   Destroy  204  <--SPINNING VORTEX
   Destroy  285  <--LIT DYNAMITE
   TurnCounterOFF  13
   PlusScore  15
   TurnFlagON  35
   TurnCounterON  25
   SwapLocations  246 219  <--TARDIS SCANNER, TARDIS SCANNER
   DoneWithTurn 
END_COMMAND

COMMAND THROW ANY 
   NOUNPresent 
   ObjectIsNumber  204
   NOT NOUNIsNumber  285
   NOUNIsMovable
   Present  204  <--SPINNING VORTEX
   PrintMessage  131
   SendNOUNToRoom  53  <--Anteroom
   DoneWithTurn 
END_COMMAND

COMMAND THROW ANY 
   NOUNPresent 
   ObjectIsNumber  292
   Present  292  <--SWIRLING VORTEX
   NOUNIsMovable
   PrintMessage  131
   SendNOUNToRoom  6  <--Temple
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   CounterGT  25 0
   NOUNPresent 
   NOT AtLocation  2  <--TARDIS Console Room
   NOT NOUNIsNumber  203
   PrintMessage  162
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   CounterGT  25 10
   NOT AtLocation  2  <--TARDIS Console Room
   PrintMessage  165
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   CounterEquals  25 4
   NOT AtLocation  2  <--TARDIS Console Room
   FlagOFF  240
   Tone  440 100
   PrintMessage  170
   TurnFlagON  240
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   CounterEquals  25 8
   NOT AtLocation  2  <--TARDIS Console Room
   FlagOFF  241
   Tone  440 100
   PrintMessage  171
   TurnFlagON  241
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   CounterGT  25 1
   AtLocation  2  <--TARDIS Console Room
   FlagOFF  242
   Tone  440 100
   PrintMessage  166
   TurnFlagON  242
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   CounterEquals  25 13
   AtLocation  2  <--TARDIS Console Room
   Present  224  <--MAIN DOORS
   PrintMessage  168
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  59  <--The Pyramids of Mars
   CounterEquals  7 2
   PrintMessage  124
   QuitThisCMD 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  94  <--Maze of Horus
   CounterEquals  7 3
   PrintMessage  127
   QuitThisCMD 
END_COMMAND

COMMAND WEST ANY 
   AtLocation  95  <--Maze of Horus
   CounterEquals  7 4
   PrintMessage  124
   QuitThisCMD 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  96  <--Maze of Horus
   CounterEquals  7 5
   PrintMessage  124
   QuitThisCMD 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  97  <--Maze of Horus
   CounterEquals  7 6
   PrintMessage  126
   QuitThisCMD 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  98  <--Maze of Horus
   CounterEquals  7 7
   PrintMessage  124
   QuitThisCMD 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  99  <--Maze of Horus
   CounterEquals  7 8
   PrintMessage  126
   QuitThisCMD 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  100  <--Maze of Horus
   CounterEquals  7 9
   PrintMessage  126
   QuitThisCMD 
END_COMMAND

COMMAND EAST ANY 
   AtLocation  101  <--Maze of Horus
   CounterEquals  7 10
   PrintMessage  124
   QuitThisCMD 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  102  <--Maze of Horus
   CounterEquals  7 11
   PrintMessage  124
   QuitThisCMD 
END_COMMAND

COMMAND NORTH ANY 
   AtLocation  103  <--Maze of Horus
   CounterEquals  7 12
   PrintMessage  127
   QuitThisCMD 
END_COMMAND

COMMAND WEST ANY 
   AtLocation  104  <--Maze of Horus
   CounterEquals  7 13
   PrintMessage  127
   QuitThisCMD 
END_COMMAND

COMMAND WEST ANY 
   AtLocation  105  <--Maze of Horus
   CounterEquals  7 14
   PrintMessage  127
   QuitThisCMD 
END_COMMAND

COMMAND WEST ANY 
   AtLocation  106  <--Maze of Horus
   CounterEquals  7 15
   PrintMessage  127
   QuitThisCMD 
END_COMMAND

COMMAND WEST ANY 
   AtLocation  107  <--Maze of Horus
   CounterEquals  7 16
   PrintMessage  124
   QuitThisCMD 
END_COMMAND

COMMAND OPEN CHEST 
   AtLocation  53  <--Anteroom
   FlagOFF  26
   PrintMessage  136
   PrintMessage  117
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND PUT PACK IN VAPOURIZER
   NOUNIsNumber  289
   Present  289  <--POWER PACK
   Present  290  <--ORGANIC VAPOURIZER
   PrintMessage  137
   Destroy  289  <--POWER PACK
   SwapLocations  290 291  <--ORGANIC VAPOURIZER, ORGANIC VAPOURIZER
   PlusScore  1
   DoneWithTurn 
END_COMMAND

COMMAND TURN VAPOURIZER 
   NOUNIsNumber  291
   NOT AtLocation  109  <--Chamber of Light
   PrintMessage  139
   DoneWithTurn 
END_COMMAND

COMMAND TURN VAPOURIZER 
   NOUNIsNumber  291
   AtLocation  109  <--Chamber of Light
   TurnCounterON  9
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   CounterEquals  9 4
   Present  291  <--ORGANIC VAPOURIZER
   PrintMessage  140
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   CounterEquals  9 4
   NOT Present  291  <--ORGANIC VAPOURIZER
   Tone  440 100
   PlusScore  9
   PrintMessage  141
   TurnFlagON  31
   TurnCounterON  11
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   FlagOFF  31
   CounterEquals  10 45
   AtLocation  109  <--Chamber of Light
   PrintMessage  164
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   FlagOFF  31
   CounterEquals  10 45
   NOT AtLocation  109  <--Chamber of Light
   PrintMessage  163
   WaitForReturn 
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND none ANY 
   QuitThisCMD 
END_COMMAND

COMMAND GET PHOTOGRAPH 
   Present  301  <--LAURENCE SCARMAN
   PrintMessage  155
   DoneWithTurn 
END_COMMAND

COMMAND ASK ANY IN PRIORY
   Present  301  <--LAURENCE SCARMAN
   NOUNIsNumber  301
   PrintMessage  200
   DoneWithTurn 
END_COMMAND

COMMAND ASK ANY IN POACHER
   Present  301  <--LAURENCE SCARMAN
   NOUNIsNumber  301
   PrintMessage  201
   DoneWithTurn 
END_COMMAND

COMMAND ASK ANY IN SCARMAN
   Present  301  <--LAURENCE SCARMAN
   NOUNIsNumber  301
   PrintMessage  202
   DoneWithTurn 
END_COMMAND

COMMAND ASK ANY IN REMAINS
   NOUNIsNumber  301
   Present  301  <--LAURENCE SCARMAN
   PrintMessage  203
   DoneWithTurn 
END_COMMAND

COMMAND ASK ANY IN MACHINE
   NOUNIsNumber  301
   Present  301  <--LAURENCE SCARMAN
   PrintMessage  204
   DoneWithTurn 
END_COMMAND

COMMAND ASK ANY IN HOLE
   NOUNIsNumber  301
   Present  301  <--LAURENCE SCARMAN
   PrintMessage  206
   DoneWithTurn 
END_COMMAND

COMMAND ASK ANY 
   NOUNIsNumber  239
   Present  239  <--DEAD BODY
   PrintMessage  47
   DoneWithTurn 
END_COMMAND

COMMAND ASK ANY 
   NOUNIsNumber  301
   Present  301  <--LAURENCE SCARMAN
   PrintMessage  205
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   NOT  VerbIsDirection 
   NOT  NounIsCreature 
   AtLocation  49  <--The Lodge
   Chance  25
   TurnsLT  200
   RandomMessage  19 25
   QuitThisCMD 
END_COMMAND

COMMAND ASK ANY 
   NOT  NOUNPresent 
   PrintMessage  48
   DoneWithTurn 
END_COMMAND

COMMAND ANY 
   TurnsEquals  50
   PrintMessage  49
   FlagOFF  250
   Tone  440 100
   TurnFlagON  250
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   VerbIsDirection 
   TurnsGT  50
   TurnsLT  60
   AtLocationGT  15  <--Courtyard
   PrintMessage  49
   QuitThisCMD 
END_COMMAND

COMMAND ANY 
   VerbIsDirection 
   TurnsGT  50
   TurnsLT  60
   AtLocationLT  16  <--Garden
   PrintMessage  54
   QuitThisCMD 
END_COMMAND

COMMAND PUSH ANY 
   NOUNIsNumber  257
   FlagOFF  15
   Present  257  <--BARE PATCH
   PrintMessage  78
   ChangePassageway  2  <--SOUTH, Priest's Hole
   ToggleFlag  15
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE ANY 
   NOT  NOUNPresent 
   PrintMessage  17
   DoneWithTurn 
END_COMMAND

COMMAND LOOK ANY 
   NOUNIsNumber  295
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND EXAMINE DOORS 
   QuitThisCMD 
END_COMMAND

COMMAND LOOK WINDOW IN WINDOW
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND EXAMINE WINDOW 
   QuitThisCMD 
END_COMMAND

COMMAND EXAMINE WALL IN GLASS
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND LOOK GLASS IN GLASS
   QuitThisCMD 
END_COMMAND

COMMAND LOOK GLASS IN GLASS
   AtLocation  6  <--Temple
   Present  255  <--MAGNIFYING GLASS
   SendToRoom  257 6  <--BARE PATCH, Temple
   PrintMessage  77
   PlusScore  3
   DoneWithTurn 
END_COMMAND

COMMAND DEACTIVATE ANY 
   NOT Present  200  <--SONIC SCREWDRIVER
   PrintMessage  91
   DoneWithTurn 
END_COMMAND

COMMAND DEACTIVATE ANY 
   PrintMessage  92
   DoneWithTurn 
END_COMMAND

COMMAND LOOK ANY 
   NOUNPresent 
   PrintMessage  70
   DoneWithTurn 
END_COMMAND

COMMAND EXAMINE ANY IN GLASS
   ReDirectTo 
   QuitThisCMD 
END_COMMAND

COMMAND LOOK GLASS IN GLASS
   QuitThisCMD 
END_COMMAND

COMMAND LOOK GLASS IN GLASS
   ObjectPresent 
   Present  255  <--MAGNIFYING GLASS
   PrintMessage  76
   DoneWithTurn 
END_COMMAND

COMMAND LOOK GLASS IN GLASS
   NOT  ObjectPresent 
   PrintMessage  79
   DoneWithTurn 
END_COMMAND

COMMAND PUSH ANY 
   NounIsCreature 
   PrintMessage  108
   DoneWithTurn 
END_COMMAND

COMMAND ATTACK ANY 
   NounIsCreature 
   PrintMessage  108
   DoneWithTurn 
END_COMMAND

COMMAND WEAR ANY 
   NounIsCreature 
   PrintMessage  109
   DoneWithTurn 
END_COMMAND

COMMAND READ ANY 
   NounIsCreature 
   PrintMessage  109
   DoneWithTurn 
END_COMMAND

COMMAND TELL ANY 
   NounIsCreature 
   PrintMessage  108
   DoneWithTurn 
END_COMMAND

COMMAND TELL ANY 
   NounIsCreature 
   PrintMessage  108
   DoneWithTurn 
END_COMMAND

COMMAND GET ALL 
   QuitAllCMDs 
   QuitThisCMD 
END_COMMAND

COMMAND GET ANY 
   NOUNIsNumber  205
   NOT IsCarrying  205  <--SWEATY GELIGNITE
   Present  205  <--SWEATY GELIGNITE
   TurnFlagOFF  23
   PrintMessage  98
   GetIt  205  <--SWEATY GELIGNITE
   DoneWithTurn 
END_COMMAND

COMMAND GET ANY 
   NOUNInRoom 
   NOUNIsMovable
   NOT  NounIsCreature 
   GetNOUN 
   TurnFlagON  25
   LoadWeightGT  90
   TurnFlagOFF  25
   PrintMessage  45
   DropNOUN 
   DoneWithTurn 
END_COMMAND

COMMAND GET ANY 
   FlagON  25
   PrintMessage  41
   TurnFlagOFF  25
   DoneWithTurn 
END_COMMAND

COMMAND GET ANY 
   NOUNIsCarrying 
   PrintMessage  42
   DoneWithTurn 
END_COMMAND

COMMAND GET ANY 
   NOT  NOUNPresent 
   QuitAllCMDs 
   QuitThisCMD 
END_COMMAND

COMMAND GET ANY 
   NOT  NOUNPresent 
   PrintMessage  43
   DoneWithTurn 
END_COMMAND

COMMAND GET ANY 
   NOT  NOUNIsMovable
   OR 
   NounIsCreature 
   PrintMessage  44
   DoneWithTurn 
END_COMMAND

COMMAND SORRY ANY 
   PrintMessage  156
   DoneWithTurn 
END_COMMAND

COMMAND XPRBYVAASW ANY 
   TurnCounterOFF  1
   TurnCounterOFF  5
   TurnCounterOFF  6
   TurnCounterOFF  7
   TurnCounterOFF  8
   TurnCounterOFF  9
   TurnCounterOFF  10
   TurnCounterOFF  11
   QuitThisCMD 
END_COMMAND

COMMAND XPRBYVAASW ANY 
   TurnCounterOFF  13
   TurnCounterOFF  25
   DropEverything 
   RemoveEverything 
   GoToRoom  192  <--DEATH
   DoneWithTurn 
END_COMMAND

